package cn.chinaunicom.sdsi.frm.workflow.bean;

import java.util.Date;

/**
 * 流转历史展现实体
 * 
 * @author liyh
 */
public class HistoicFlowVO {

	/**
	 * 公共附件表主键
	 */
	private int id;
	/**
	 * 实例ID及任务ID及上一个任务ID（当前仅适用于无并行的情况）
	 */
	private String processInstanceId;
	private String taskId;
	private String preTaskId;

	/**
	 * 执行环节编码及名称
	 */
	private String linkKey;
	private String linkName;
	/**
	 * 环节执行人ID及名称
	 */
	private String assigneeId;
	private String assigneeName;
	/**
	 * 执行人对应组织ID及名称
	 */
	private String orgId;
	private String orgName;
	/**
	 * 处理类型
	 */
	private String handleType;
	/**
	 * 任务到达时间
	 */
	private Date startTime;
	/**
	 * 任务处理时间
	 */
	private Date endTime;
	/**
	 * 用户任务审批意见
	 */
	private String userComment;
	/**
	 * 当前历史记录对应任务是否可撤回
	 */
	private boolean withdraw = false;
	/**
	 * 当前历史记录对应操作是否为简退的退回操作，如果是即下一步操作仅能提交至本记录对应处理人
	 */
	private boolean quickBack = false;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getProcessInstanceId() {
		return processInstanceId;
	}

	public void setProcessInstanceId(String processInstanceId) {
		this.processInstanceId = processInstanceId;
	}

	public String getTaskId() {
		return taskId;
	}

	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

	public String getPreTaskId() {
		return preTaskId;
	}

	public void setPreTaskId(String preTaskId) {
		this.preTaskId = preTaskId;
	}

	public String getLinkKey() {
		return linkKey;
	}

	public void setLinkKey(String linkKey) {
		this.linkKey = linkKey;
	}

	public String getLinkName() {
		return linkName;
	}

	public void setLinkName(String linkName) {
		this.linkName = linkName;
	}

	public String getAssigneeId() {
		return assigneeId;
	}

	public void setAssigneeId(String assigneeId) {
		this.assigneeId = assigneeId;
	}

	public String getAssigneeName() {
		return assigneeName;
	}

	public void setAssigneeName(String assigneeName) {
		this.assigneeName = assigneeName;
	}

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public String getHandleType() {
		return handleType;
	}

	public void setHandleType(String handleType) {
		this.handleType = handleType;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getUserComment() {
		return userComment;
	}

	public void setUserComment(String userComment) {
		this.userComment = userComment;
	}

	public boolean isWithdraw() {
		return withdraw;
	}

	public void setWithdraw(boolean withdraw) {
		this.withdraw = withdraw;
	}

	public boolean isQuickBack() {
		return quickBack;
	}

	public void setQuickBack(boolean quickBack) {
		this.quickBack = quickBack;
	}

}
